package com.yangaobo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import lombok.*;

/**
 * @author 杨奥博
 */

@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Schema(description = "按条件分页搜索资产申请DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AssetsBorrowPageDTO extends PageDTO {
    @Min(value = 1, message = "资产ID必须大于0")
    @Schema(description = "资产ID")
    private Long fkAssetsId;
    @Min(value = 1, message = "员工ID必须大于0")
    @Schema(description = "员工ID")
    private Long fkEmpId;

}